//
//  TMUserModel.h
//  国学商家管理
//
//  Created by mac on 2018/6/19.
//  Copyright © 2018年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef enum LoginType {
    LoginTypePhone  = 0,
    LoginTypeUserName,//营业执照
    LoginTypeWechat,//证书
    LoginTypeQQ,
    LoginTypeWeibo
} LoginType;
@interface TMUserModel : NSObject
@property (nonatomic, assign) NSInteger uid;
@property (nonatomic, copy) NSString *token;
@property (nonatomic, copy) NSString *userName;
@property (nonatomic, copy) NSString *password;
@property (nonatomic, copy) NSString *msg;
@property (nonatomic, copy) NSString *rongyun;
@property (nonatomic, assign) NSInteger code;
@property (nonatomic, assign) NSInteger add_check;// -1 未提交审核资料 0未审核 1通过 2未通过

//+ (instancetype)userModel;
@property (nonatomic, copy) NSString *price;
@property (nonatomic, copy) NSString *userimage;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, assign) NSInteger num;
@property (nonatomic, assign) NSInteger udid;
@property (nonatomic, copy) NSString *order_name;
@property (nonatomic, assign)LoginType loginType;
@property (nonatomic, copy) NSString *userIcon;
@property (nonatomic, copy) NSString *userOpenid;

@end
